﻿using System;
using SrBBSPro.BaseClasses;
using NPoco;

namespace SrBBSPro.Entities
{
    [TableName("Schedule")]
    [PrimaryKey("Id", AutoIncrement = false)]
    public class Schedule : BaseEntity<long>
    {
        
        public long ProjectId { get; set; }
        /// <summary>
        /// 区分
        /// </summary>
        public string Kind { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Info { get; set; }
        /// <summary>
        /// 规模
        /// </summary>
        public int Scale { get; set; }
        /// <summary>
        /// 作业
        /// </summary>
        public string Tasks { get; set; }
        /// <summary>
        /// 担当工号
        /// </summary>
        public string PersonId { get; set; }
        /// <summary>
        /// 担当
        /// </summary>
        public string Person { get; set; }
        /// <summary>
        /// 作业开始
        /// </summary>
        public string TaskStart { get; set; }
        /// <summary>
        /// 作业结束
        /// </summary>
        public string TaskEnd { get; set; }
        /// <summary>
        /// 进度
        /// </summary>
        public int Rate { get; set; }

    }
}